TransferringInputDeviceSummary.fromJson constructor

TransferringInputDeviceSummary.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory TransferringInputDeviceSummary.fromJson(Map<String, dynamic> json) {
  return TransferringInputDeviceSummary(
    id: json['id'] as String?,
    message: json['message'] as String?,
    targetCustomerId: json['targetCustomerId'] as String?,
    transferType:
        (json['transferType'] as String?)?.toInputDeviceTransferType(),
  );
}