AddAssetsToGroupRequest.fromJson constructor

AddAssetsToGroupRequest.fromJson(
  1. Map json_
)

Implementation

AddAssetsToGroupRequest.fromJson(core.Map json_)
    : this(
        allowExisting: json_.containsKey('allowExisting')
            ? json_['allowExisting'] as core.bool
            : null,
        assets: json_.containsKey('assets')
            ? AssetList.fromJson(
                json_['assets'] as core.Map<core.String, core.dynamic>)
            : null,
        requestId: json_.containsKey('requestId')
            ? json_['requestId'] as core.String
            : null,
      );