AssetAssociation.fromJson constructor

AssetAssociation.fromJson(
  1. Map json_
)

Implementation

AssetAssociation.fromJson(core.Map json_)
    : this(
        asset: json_.containsKey('asset')
            ? Asset.fromJson(
                json_['asset'] as core.Map<core.String, core.dynamic>)
            : null,
        role: json_.containsKey('role') ? json_['role'] as core.String : null,
      );