SourceReceiver.fromJson constructor

SourceReceiver.fromJson(
  1. Object? json
)

Implementation

factory SourceReceiver.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return SourceReceiver(
      refundAttributesMethod: map['refund_attributes_method'] == null
          ? null
          : SourceRefundAttributesMethod.fromJson(
              map['refund_attributes_method']));
}