PaymentMethodDetailsMultibanco.fromJson constructor

PaymentMethodDetailsMultibanco.fromJson(
  1. Object? json
)

Implementation

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