SessionsCustomerDetails.fromJson constructor

SessionsCustomerDetails.fromJson(
  1. Object? json
)

Implementation

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