RuntimeMetadata.fromJson constructor

RuntimeMetadata.fromJson(
  1. Map _json
)

Implementation

RuntimeMetadata.fromJson(core.Map _json)
    : this(
        parameters: _json.containsKey('parameters')
            ? (_json['parameters'] as core.List)
                .map<ParameterMetadata>((value) => ParameterMetadata.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        sdkInfo: _json.containsKey('sdkInfo')
            ? SDKInfo.fromJson(
                _json['sdkInfo'] as core.Map<core.String, core.dynamic>)
            : null,
      );