GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo.fromJson constructor

GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo.fromJson(
  1. Map json_
)

Implementation

GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        resource: json_.containsKey('resource')
            ? json_['resource'] as core.Map<core.String, core.dynamic>
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
        sub: json_.containsKey('sub')
            ? (json_['sub'] as core.List)
                .map((value) =>
                    GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        time: json_.containsKey('time') ? json_['time'] as core.String : null,
      );