I'm using a Dart package and need to extend or otherwise change some of the state in a singleton class called Constants, i.e. a class with a private constructor. It appears I have to change the singleton to extend/subclass it. Having poured over their code, I admire their work and want to avoid changing their code. Is their another way to add some constants and change some of the values of the static const's in their Constants._() class? I'm new enough to Dart to be missing something obvious, so don't be shy about giving me obvious advise. I know I can change the class to have a public const constructor and then I'm able subclass it. Is a mixin the way to tackle this?
Thanks in advance for any help.