ByteMatchSet.fromJson constructor

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

Implementation

factory ByteMatchSet.fromJson(Map<String, dynamic> json) {
  return ByteMatchSet(
    byteMatchSetId: json['ByteMatchSetId'] as String,
    byteMatchTuples: (json['ByteMatchTuples'] as List)
        .whereNotNull()
        .map((e) => ByteMatchTuple.fromJson(e as Map<String, dynamic>))
        .toList(),
    name: json['Name'] as String?,
  );
}