PersonResponse.fromJson constructor

PersonResponse.fromJson(
  1. Map json_
)

Implementation

PersonResponse.fromJson(core.Map json_)
    : this(
        httpStatusCode: json_.containsKey('httpStatusCode')
            ? json_['httpStatusCode'] as core.int
            : null,
        person: json_.containsKey('person')
            ? Person.fromJson(
                json_['person'] as core.Map<core.String, core.dynamic>)
            : null,
        requestedResourceName: json_.containsKey('requestedResourceName')
            ? json_['requestedResourceName'] as core.String
            : null,
        status: json_.containsKey('status')
            ? Status.fromJson(
                json_['status'] as core.Map<core.String, core.dynamic>)
            : null,
      );