SystemApksListResponse.fromJson constructor

SystemApksListResponse.fromJson(
  1. Map json_
)

Implementation

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