toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (currentVersion != null) 'currentVersion': currentVersion!,
  if (membership != null) 'membership': membership!,
  if (resourceName != null) 'resourceName': resourceName!,
  if (targetVersion != null) 'targetVersion': targetVersion!,
};