RequestInfo.fromJson constructor

RequestInfo.fromJson(
  1. Map _json
)

Implementation

RequestInfo.fromJson(core.Map _json)
    : this(
        appDeveloperEmail: _json.containsKey('appDeveloperEmail')
            ? (_json['appDeveloperEmail'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        appKey: _json.containsKey('appKey')
            ? _json['appKey'] as core.String
            : null,
        numberOfRequests: _json.containsKey('numberOfRequests')
            ? _json['numberOfRequests'] as core.String
            : null,
      );