ObjectFieldSelector.fromJson constructor
Creates a ObjectFieldSelector from JSON data.
Implementation
factory ObjectFieldSelector.fromJson(Map<String, dynamic> json) {
final tempApiVersionJson = json['apiVersion'];
final tempFieldPathJson = json['fieldPath'];
final String? tempApiVersion = tempApiVersionJson;
final String tempFieldPath = tempFieldPathJson;
return ObjectFieldSelector(
apiVersion: tempApiVersion,
fieldPath: tempFieldPath,
);
}