ErrorValue.fromJson constructor

ErrorValue.fromJson(
  1. Map json_
)

Implementation

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