toJson method
Implementation
Map<String, dynamic> toJson() {
final availBlankingImage = this.availBlankingImage;
final state = this.state;
return {
if (availBlankingImage != null) 'availBlankingImage': availBlankingImage,
if (state != null) 'state': state.toValue(),
};
}