BiEngineStatistics.fromJson constructor

BiEngineStatistics.fromJson(
  1. Map json_
)

Implementation

BiEngineStatistics.fromJson(core.Map json_)
    : this(
        accelerationMode: json_.containsKey('accelerationMode')
            ? json_['accelerationMode'] as core.String
            : null,
        biEngineMode: json_.containsKey('biEngineMode')
            ? json_['biEngineMode'] as core.String
            : null,
        biEngineReasons: json_.containsKey('biEngineReasons')
            ? (json_['biEngineReasons'] as core.List)
                .map((value) => BiEngineReason.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );