toJson method

Map<String, dynamic> toJson()

Implementation

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