TextureCompressionFormatTargeting.fromJson constructor
TextureCompressionFormatTargeting.fromJson(
- Map json_
Implementation
TextureCompressionFormatTargeting.fromJson(core.Map json_)
: this(
alternatives: json_.containsKey('alternatives')
? (json_['alternatives'] as core.List)
.map((value) => TextureCompressionFormat.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
value: json_.containsKey('value')
? (json_['value'] as core.List)
.map((value) => TextureCompressionFormat.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);