OSDescription.fromJson constructor

OSDescription.fromJson(
  1. Map json_
)

Implementation

OSDescription.fromJson(core.Map json_)
    : this(
        offer:
            json_.containsKey('offer') ? json_['offer'] as core.String : null,
        plan: json_.containsKey('plan') ? json_['plan'] as core.String : null,
        publisher: json_.containsKey('publisher')
            ? json_['publisher'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );