ApksListResponse.fromJson constructor

ApksListResponse.fromJson(
  1. Map json_
)

Implementation

ApksListResponse.fromJson(core.Map json_)
    : this(
        apks: json_.containsKey('apks')
            ? (json_['apks'] as core.List)
                .map((value) => Apk.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
      );