toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description != null) 'description': description!,
      if (expirationTime != null)
        'expirationTime': expirationTime!.toUtc().toIso8601String(),
      if (friendlyName != null) 'friendlyName': friendlyName!,
      if (labels != null) 'labels': labels!,
    };