UserInfoTransfer.fromJson constructor

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

Implementation

factory UserInfoTransfer.fromJson(Map<String, dynamic> json) =>
    UserInfoTransfer(
      id: json['id'] as String? ?? '',
      isCurrentComplicationInfo:
          json['isCurrentComplicationInfo'] as bool? ?? false,
      userInfo: fromRawMapToMapStringKeys(json['userInfo'] as Map),
      isTransfering: json['isTransfering'] as bool? ?? false,
    );