ReferenceSentencePairList.fromJson constructor

ReferenceSentencePairList.fromJson(
  1. Map json_
)

Implementation

ReferenceSentencePairList.fromJson(core.Map json_)
  : this(
      referenceSentencePairs:
          (json_['referenceSentencePairs'] as core.List?)
              ?.map(
                (value) => ReferenceSentencePair.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
    );