DeletedCustomer.fromJson constructor

DeletedCustomer.fromJson(
  1. Object? json
)

Implementation

factory DeletedCustomer.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return DeletedCustomer(id: (map['id'] as String));
}