ClimateRemovalsBeneficiary.fromJson constructor

ClimateRemovalsBeneficiary.fromJson(
  1. Object? json
)

Implementation

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