RuntimeConfig.fromJson constructor

RuntimeConfig.fromJson(
  1. Map json_
)

Implementation

RuntimeConfig.fromJson(core.Map json_)
    : this(
        conndSubscription: json_.containsKey('conndSubscription')
            ? json_['conndSubscription'] as core.String
            : null,
        conndTopic: json_.containsKey('conndTopic')
            ? json_['conndTopic'] as core.String
            : null,
        controlPlaneSubscription:
            json_.containsKey('controlPlaneSubscription')
                ? json_['controlPlaneSubscription'] as core.String
                : null,
        controlPlaneTopic: json_.containsKey('controlPlaneTopic')
            ? json_['controlPlaneTopic'] as core.String
            : null,
        locationId: json_.containsKey('locationId')
            ? json_['locationId'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        runtimeEndpoint: json_.containsKey('runtimeEndpoint')
            ? json_['runtimeEndpoint'] as core.String
            : null,
        schemaGcsBucket: json_.containsKey('schemaGcsBucket')
            ? json_['schemaGcsBucket'] as core.String
            : null,
        serviceDirectory: json_.containsKey('serviceDirectory')
            ? json_['serviceDirectory'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );