fromJson static method

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

Implementation

static PitchData fromJson(Map<String, dynamic> json) =>
    PitchData(
      json['sampleRate'],
      json['bufferSize'],
    );