toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  return {
    'name': name,
    'import': import,
    'getter': getter,
  };
}