toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (errorMessage != null) 'errorMessage': errorMessage!,
  if (forwardingRule != null) 'forwardingRule': forwardingRule!,
  if (ipAddress != null) 'ipAddress': ipAddress!,
  if (network != null) 'network': network!,
  if (projectId != null) 'projectId': projectId!,
  if (state != null) 'state': state!,
};