toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (category != null) 'category': category!,
      if (description != null) 'description': description!,
      if (details != null) 'details': details!,
      if (reason != null) 'reason': reason!,
      if (state != null) 'state': state!,
    };