SoftwareConfig.fromJson constructor

SoftwareConfig.fromJson(
  1. Map json_
)

Implementation

SoftwareConfig.fromJson(core.Map json_)
  : this(
      imageVersion: json_['imageVersion'] as core.String?,
      optionalComponents: (json_['optionalComponents'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      properties:
          (json_['properties'] as core.Map<core.String, core.dynamic>?)?.map(
            (key, value) => core.MapEntry(key, value as core.String),
          ),
    );