ListRuntimesResponse.fromJson constructor

ListRuntimesResponse.fromJson(
  1. Map json_
)

Implementation

ListRuntimesResponse.fromJson(core.Map json_)
    : this(
        runtimes: json_.containsKey('runtimes')
            ? (json_['runtimes'] as core.List)
                .map((value) => Runtime.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );