PlantDescription.fromJson constructor
PlantDescription.fromJson(
- Map json_
Implementation
PlantDescription.fromJson(core.Map json_)
: this(
crossReaction: json_.containsKey('crossReaction')
? json_['crossReaction'] as core.String
: null,
family: json_.containsKey('family')
? json_['family'] as core.String
: null,
picture: json_.containsKey('picture')
? json_['picture'] as core.String
: null,
pictureCloseup: json_.containsKey('pictureCloseup')
? json_['pictureCloseup'] as core.String
: null,
season: json_.containsKey('season')
? json_['season'] as core.String
: null,
specialColors: json_.containsKey('specialColors')
? json_['specialColors'] as core.String
: null,
specialShapes: json_.containsKey('specialShapes')
? json_['specialShapes'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);