toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (approve != null) 'approve': approve!,
      if (dismiss != null) 'dismiss': dismiss!,
      if (name != null) 'name': name!,
      if (requestTime != null) 'requestTime': requestTime!,
      if (requestedDuration != null) 'requestedDuration': requestedDuration!,
      if (requestedExpiration != null)
        'requestedExpiration': requestedExpiration!,
      if (requestedLocations != null)
        'requestedLocations': requestedLocations!,
      if (requestedReason != null) 'requestedReason': requestedReason!,
      if (requestedResourceName != null)
        'requestedResourceName': requestedResourceName!,
      if (requestedResourceProperties != null)
        'requestedResourceProperties': requestedResourceProperties!,
    };