SampleChannelDataResponse.fromJson constructor

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

Implementation

factory SampleChannelDataResponse.fromJson(Map<String, dynamic> json) {
  return SampleChannelDataResponse(
    payloads: (json['payloads'] as List?)
        ?.whereNotNull()
        .map((e) => _s.decodeUint8List(e as String))
        .toList(),
  );
}