toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
  if (attention.isNotEmpty) 'attention': attention,
  'base': ?base,
};