fromJson static method

PushMessageContentRecurringPayment? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static PushMessageContentRecurringPayment? fromJson(
  Map<String, dynamic>? json,
) {
  if (json == null) {
    return null;
  }

  return PushMessageContentRecurringPayment(
    amount: (json['amount'] as String?) ?? '',
  );
}