toJson method

Map<String, dynamic> toJson()

Implementation

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