ListPaymentsResponse.fromJson constructor

ListPaymentsResponse.fromJson(
  1. Map json_
)

Implementation

ListPaymentsResponse.fromJson(core.Map json_)
    : this(
        payments: json_.containsKey('payments')
            ? (json_['payments'] as core.List)
                .map((value) => Payment.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );