LabeledItem.fromJson constructor

LabeledItem.fromJson(
  1. Map _json
)

Implementation

LabeledItem.fromJson(core.Map _json)
    : this(
        id: _json.containsKey('id') ? _json['id'] as core.String : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
      );