toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final condition = this.condition;
  final containerName = this.containerName;
  return {
    'condition': condition.toValue(),
    'containerName': containerName,
  };
}