Warning.fromJson constructor

Warning.fromJson(
  1. Map json_
)

Implementation

Warning.fromJson(core.Map json_)
    : this(
        priority: json_.containsKey('priority')
            ? json_['priority'] as core.String
            : null,
        text: json_.containsKey('text') ? json_['text'] as core.String : null,
      );