toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final status = this.status;
  return {
    if (status != null) 'Status': status.toValue(),
  };
}