CheckResponse.fromJson constructor

CheckResponse.fromJson(
  1. Map json_
)

Implementation

CheckResponse.fromJson(core.Map json_)
    : this(
        debugString: json_.containsKey('debugString')
            ? json_['debugString'] as core.String
            : null,
        errorCode: json_.containsKey('errorCode')
            ? (json_['errorCode'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        linked:
            json_.containsKey('linked') ? json_['linked'] as core.bool : null,
        maxAge: json_.containsKey('maxAge')
            ? json_['maxAge'] as core.String
            : null,
      );