CardPin.fromJson constructor

CardPin.fromJson(
  1. Object? json
)

Implementation

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