Map<String, dynamic> toMap() { throw UnimplementedError( 'BaseOverlay subClass should implement this method.'); }