IssuingPersonalizationDesignPreferences.fromJson constructor

IssuingPersonalizationDesignPreferences.fromJson(
  1. Object? json
)

Implementation

factory IssuingPersonalizationDesignPreferences.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return IssuingPersonalizationDesignPreferences(
    isDefault: (map['is_default'] as bool),
    isPlatformDefault: map['is_platform_default'] == null
        ? null
        : (map['is_platform_default'] as bool),
  );
}