SessionInvoiceSettings.fromJson constructor

SessionInvoiceSettings.fromJson(
  1. Object? json
)

Implementation

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