Phrase.fromJson constructor

Phrase.fromJson(
  1. Map json_
)

Implementation

Phrase.fromJson(core.Map json_)
    : this(
        boost: json_.containsKey('boost')
            ? (json_['boost'] as core.num).toDouble()
            : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
      );