ReportWarning.fromJson constructor

ReportWarning.fromJson(
  1. Map json_
)

Implementation

ReportWarning.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );