AnalyzeMoveResponse.fromJson constructor

AnalyzeMoveResponse.fromJson(
  1. Map json_
)

Implementation

AnalyzeMoveResponse.fromJson(core.Map json_)
    : this(
        moveAnalysis: json_.containsKey('moveAnalysis')
            ? (json_['moveAnalysis'] as core.List)
                .map((value) => MoveAnalysis.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );