toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final template = this.template;
  final type = this.type;
  return {'template': ?template, 'type': ?type};
}