finalize method

Map<String, dynamic> finalize()

Implementation

Map<String, dynamic> finalize() {
  return {
    if (types != null) r'$types': types?.map((t) => t.id).toList(),
  };
}