1). It add type casts to List types to handle "RUNTIME ERROR" of casting "Empty" Lists in _fromMap constructors.
2). EnumCodec has 2 "positional parameters" but only 1 was required and passed during building which resulted in "Compile time" error. Thus another parameter "null" is passed there.
This Pr fixes 2 minor bugs:
1). It add type casts to List types to handle "RUNTIME ERROR" of casting "Empty" Lists in _fromMap constructors. 2). EnumCodec has 2 "positional parameters" but only 1 was required and passed during building which resulted in "Compile time" error. Thus another parameter "null" is passed there.