AccountUnificationAccountController.fromJson constructor

AccountUnificationAccountController.fromJson(
  1. Object? json
)

Implementation

factory AccountUnificationAccountController.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return AccountUnificationAccountController(
    isController:
        map['is_controller'] == null ? null : (map['is_controller'] as bool),
    type: AccountUnificationAccountControllerType.fromJson(map['type']),
  );
}