TextureSettings.fromJsonFile(Map<String, dynamic> json) : width = json['width'] as int, height = json['height'] as int;