WriteRequest.fromJson constructor
Implementation
factory WriteRequest.fromJson(Map<String, dynamic> json) {
return WriteRequest(
deleteRequest: json['DeleteRequest'] != null
? DeleteRequest.fromJson(
json['DeleteRequest'] as Map<String, dynamic>)
: null,
putRequest: json['PutRequest'] != null
? PutRequest.fromJson(json['PutRequest'] as Map<String, dynamic>)
: null,
);
}