OrderBeneficiary.fromJson constructor

OrderBeneficiary.fromJson(
  1. Object? json
)

Implementation

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