MetaData.fromJson constructor
Implementation
factory MetaData.fromJson(Map<String, dynamic> json) {
var payloadList = json['payload'] as List;
return MetaData(
payload: payloadList
.map((item) => PayloadItem.fromJson(item))
.toList(),
);
}