License.fromJson constructor

License.fromJson(
  1. Map _json
)

Implementation

License.fromJson(core.Map _json)
    : this(
        comments: _json.containsKey('comments')
            ? _json['comments'] as core.String
            : null,
        expression: _json.containsKey('expression')
            ? _json['expression'] as core.String
            : null,
      );