IssuingPersonalizationDesignCarrierText.fromJson constructor

IssuingPersonalizationDesignCarrierText.fromJson(
  1. Object? json
)

Implementation

factory IssuingPersonalizationDesignCarrierText.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return IssuingPersonalizationDesignCarrierText(
    footerBody:
        map['footer_body'] == null ? null : (map['footer_body'] as String),
    footerTitle:
        map['footer_title'] == null ? null : (map['footer_title'] as String),
    headerBody:
        map['header_body'] == null ? null : (map['header_body'] as String),
    headerTitle:
        map['header_title'] == null ? null : (map['header_title'] as String),
  );
}