MobileDeviceApplications.fromJson constructor

MobileDeviceApplications.fromJson(
  1. Map json_
)

Implementation

MobileDeviceApplications.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        packageName: json_.containsKey('packageName')
            ? json_['packageName'] as core.String
            : null,
        permission: json_.containsKey('permission')
            ? (json_['permission'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        versionCode: json_.containsKey('versionCode')
            ? json_['versionCode'] as core.int
            : null,
        versionName: json_.containsKey('versionName')
            ? json_['versionName'] as core.String
            : null,
      );