Skip to content

Commit

Permalink
Use factory wrapper for better builder support
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Aug 15, 2019
1 parent 05ef6ac commit d5cba2c
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -85,9 +85,9 @@ class ContentBuilder extends FactoryBuilderSupport {
registerFactory('country', new DefaultPropertyFactory(klass: Country))
registerFactory('created', new DefaultPropertyFactory(klass: Created))
registerFactory('description', new DefaultPropertyFactory(klass: Description))
registerFactory('dtend', new DefaultPropertyFactory(klass: DtEnd))
registerFactory('dtend', new PropertyFactoryWrapper(DtEnd, new DtEnd.Factory()))
registerFactory('dtstamp', new DtStampFactory())
registerFactory('dtstart', new DefaultPropertyFactory(klass: DtStart))
registerFactory('dtstart', new PropertyFactoryWrapper(DtStart, new DtStart.Factory()))
registerFactory('due', new DefaultPropertyFactory(klass: Due))
registerFactory('duration', new DefaultPropertyFactory(klass: Duration))
registerFactory('exdate', new DefaultPropertyFactory(klass: ExDate))
Expand Down

0 comments on commit d5cba2c

Please sign in to comment.