DeletedCard.fromJson constructor

DeletedCard.fromJson(
  1. Object? json
)

Implementation

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