toJson method

Map<String, dynamic> toJson()

Implementation

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