toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (contexts != null)
        'contexts': contexts!.map((value) => value.toJson()).toList(),
      if (disapproval != null) 'disapproval': disapproval!.toJson(),
      if (disapprovalReasons != null)
        'disapprovalReasons':
            disapprovalReasons!.map((value) => value.toJson()).toList(),
      if (status != null) 'status': status!,
    };