anchor.diff:      });
   
       test("list - fromList", () {
  -        List list = Serializer.fromList(
  -            JSON.decode('["{\\"@dart_type\\":\\"ModelA\\",\\"foo\\":\\"toto\\"}","{\\"@dart_type\\":\\"ModelA\\",\\"foo\\":\\"bar\\"}"]'),
  -            ModelA);
  -
  -        expect(2, list.length);
  -        expect("toto", list[0]?.foo);
  -        expect("bar", list[1]?.foo);
  -
  -        expect(ModelA, list[0]?.runtimeType);
  -        expect(ModelA, list[1]?.runtimeType);
  +      List list = Serializer.fromList(
  +          JSON.decode(
  +              '["{\\"@dart_type\\":\\"ModelA\\",\\"foo\\":\\"toto\\"}","{\\"@dart_type\\":\\"ModelA\\",\\"foo\\":\\"bar\\"}"]'),
  +          ModelA);
  +
  +      expect(2, list.length);
  +      expect("toto", list[0]?.foo);
  +      expect("bar", list[1]?.foo);
  +
  +      expect(ModelA, list[0]?.runtimeType);
  +      expect(ModelA, list[1]?.runtimeType);
       });
   
       test("inner list", () {
  -        ModelD test = Serializer.fromJson('{"@dart_type":"ModelD","tests":["{\\"@dart_type\\":\\"ModelA\\",\\"foo\\":\\"toto\\"}","{\\"@dart_type\\":\\"ModelA\\",\\"foo\\":\\"bar\\"}"]}', ModelD);
  -
  -        expect(2, test?.tests?.length);
  -        expect(ModelA, test?.tests[0]?.runtimeType);
  -        expect(ModelA, test?.tests[1]?.runtimeType);
  -        expect("toto", test?.tests[0]?.foo);
  -        expect("bar", test?.tests[1]?.foo);
  +      ModelD test = Serializer.fromJson(
  +          '{"@dart_type":"ModelD","tests":["{\\"@dart_type\\":\\"ModelA\\",\\"foo\\":\\"toto\\"}","{\\"@dart_type\\":\\"ModelA\\",\\"foo\\":\\"bar\\"}"]}',
  +          ModelD);
  +
  +      expect(2, test?.tests?.length);
  +      expect(ModelA, test?.tests[0]?.runtimeType);
  +      expect(ModelA, test?.tests[1]?.runtimeType);
  +      expect("toto", test?.tests[0]?.foo);
  +      expect("bar", test?.tests[1]?.foo);
       });
   
       test("inner class non-serializable", () {
  -        ModelB b = Serializer.fromJson('{"@dart_type":"ModelB","toto":"tata","foo":{"toto":"tata"}}', ModelB);
  -
  -        expect(null, b.foo);
  +      ModelB b = Serializer.fromJson(
  +          '{"@dart_type":"ModelB","toto":"tata","foo":{"toto":"tata"}}',
  +          ModelB);
  +
  +      expect(null, b.foo);
       });
   
       test("inner class serializable", () {
  -        ModelC c = Serializer.fromJson( '{"@dart_type":"ModelC","foo":{"@dart_type":"ModelA","foo":"toto"},"plop":"bar"}', ModelC);
  -       expect(ModelA, c.foo.runtimeType);
  -        expect("toto", c.foo.foo);
  -        expect("bar", c.plop);
  -    });
  -
  +      ModelC c = Serializer.fromJson(
  +          '{"@dart_type":"ModelC","foo":{"@dart_type":"ModelA","foo":"toto"},"plop":"bar"}',
  +          ModelC);
  +      expect(ModelA, c.foo.runtimeType);
  +      expect("toto", c.foo.foo);
  +      expect("bar", c.plop);
  +    });
   
       test("Datetime", () {
         Date date = Serializer.fromJson(
  
positive.code:       expect("{@dart_type: ModelA, foo: toto}", a.toString());
        expect('{"@dart_type":"ModelA","foo":"toto"}', a.toJson());
        expect({"@dart_type": "ModelA", "foo": "toto"}, a.toMap);
      });
  
      test("list", () {
  
negative.code:           json);
      });
  
      test("list inner list", () {
        List listA = [new ModelB(), new ModelB()];
        List listB = [new ModelB(), listA];
        String json = Serializer.toJson(listB);
        print(json);
        expect(
            '["{\\"@dart_type\\":\\"ModelB\\",\\"toto\\":\\"tata\\"}",["{\\"@dart_type\\":\\"ModelB\\",\\"toto\\":\\"tata\\"}","{\\"@dart_type\\":\\"ModelB\\",\\"toto\\":\\"tata\\"}"]]',
            json);
      });
  
      test("list class serializable", () {
        List list = [new ModelC(), new ModelC()];
        String json = Serializer.toJson(list);
  