ProjectEmailAddress.fromJson constructor

ProjectEmailAddress.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ProjectEmailAddress.fromJson(Map<String, Object?> json) {
  return ProjectEmailAddress(
    emailAddress: json[r'emailAddress'] as String?,
    emailAddressStatus: (json[r'emailAddressStatus'] as List<Object?>?)
            ?.map((i) => i as String? ?? '')
            .toList() ??
        [],
  );
}