toJson method
Implementation
Map<String, dynamic> toJson() {
final facetName = this.facetName;
final schemaArn = this.schemaArn;
return {
if (facetName != null) 'FacetName': facetName,
if (schemaArn != null) 'SchemaArn': schemaArn,
};
}