CheckResponse.fromJson constructor

CheckResponse.fromJson(
  1. Map json_
)

Implementation

CheckResponse.fromJson(core.Map json_)
    : this(
        headers: json_.containsKey('headers')
            ? (json_['headers'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        status: json_.containsKey('status')
            ? Status.fromJson(
                json_['status'] as core.Map<core.String, core.dynamic>)
            : null,
      );