toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final resourceType = this.resourceType;
  final uri = this.uri;
  return {
    if (resourceType != null) 'ResourceType': resourceType.toValue(),
    if (uri != null) 'Uri': uri,
  };
}