TrackConfig.fromJson constructor

TrackConfig.fromJson(
  1. Map json_
)

Implementation

TrackConfig.fromJson(core.Map json_)
    : this(
        formFactor: json_.containsKey('formFactor')
            ? json_['formFactor'] as core.String
            : null,
        track:
            json_.containsKey('track') ? json_['track'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );