toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (name != null) 'name': name!,
      if (requestTime != null) 'requestTime': requestTime!,
      if (requestedExpirationTime != null)
        'requestedExpirationTime': requestedExpirationTime!,
      if (requestedReason != null) 'requestedReason': requestedReason!,
    };