KeyValue.fromJson constructor

KeyValue.fromJson(
  1. Map json_
)

Implementation

KeyValue.fromJson(core.Map json_)
    : this(
        key: json_.containsKey('key') ? json_['key'] as core.String : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
      );