public static RowCoder of(Schema schema) {
    return new RowCoder(schema);
  }
@Test
  public void testConsistentWithEqualsMapWithNull() throws Exception {
    Schema schema =
        Schema.builder()
            .addField(
                "a",
                Schema.FieldType.map(
                    Schema.FieldType.INT32, Schema.FieldType.INT32.withNullable(true)))
            .build();

    Row row = Row.withSchema(schema).addValue(Collections.singletonMap(1, null)).build();
    CoderProperties.coderDecodeEncodeEqual(RowCoder.of(schema), row);
  }