toJson method Null safety

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (address != null) 'address': address!,
      if (config != null) 'config': config!,
      if (deployTime != null) 'deployTime': deployTime!,
      if (platform != null) 'platform': platform!,
      if (resourceUri != null) 'resourceUri': resourceUri!,
      if (undeployTime != null) 'undeployTime': undeployTime!,
      if (userEmail != null) 'userEmail': userEmail!,
    };