ApiWarning.fromJson constructor

ApiWarning.fromJson(
  1. Map json_
)

Implementation

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