ListByteMatchSetsResponse.fromJson constructor

ListByteMatchSetsResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListByteMatchSetsResponse.fromJson(Map<String, dynamic> json) {
  return ListByteMatchSetsResponse(
    byteMatchSets: (json['ByteMatchSets'] as List?)
        ?.whereNotNull()
        .map((e) => ByteMatchSetSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextMarker: json['NextMarker'] as String?,
  );
}