ReceivedMetadata.fromJson constructor
Implementation
factory ReceivedMetadata.fromJson(Map<String, dynamic> json) {
return ReceivedMetadata(
allowedOperations: (json['AllowedOperations'] as List?)
?.whereNotNull()
.map((e) => (e as String).toAllowedOperation())
.toList(),
receivedStatus: (json['ReceivedStatus'] as String?)?.toReceivedStatus(),
);
}