Map<String, dynamic> toJson() { final json = Map<String, dynamic>.from(_data); json[kTypeKey] = type; json[kInlineKey] = inline; return json; }