Asset.fromJson constructor

Asset.fromJson(
  1. Map json_
)

Implementation

Asset.fromJson(core.Map json_)
    : this(
        androidApp: json_.containsKey('androidApp')
            ? AndroidAppAsset.fromJson(
                json_['androidApp'] as core.Map<core.String, core.dynamic>)
            : null,
        web: json_.containsKey('web')
            ? WebAsset.fromJson(
                json_['web'] as core.Map<core.String, core.dynamic>)
            : null,
      );