toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (locationMatchingStrategy != null)
        'locationMatchingStrategy': locationMatchingStrategy!,
      if (locationType != null) 'locationType': locationType!,
      if (metadataId != null) 'metadataId': metadataId!,
      if (metadataKey != null) 'metadataKey': metadataKey!,
      if (metadataLocation != null) 'metadataLocation': metadataLocation!,
      if (metadataValue != null) 'metadataValue': metadataValue!,
      if (visibility != null) 'visibility': visibility!,
    };