toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  if (profile != null) {
    data['profile'] = profile!.toJson();
  }
  data['symbol'] = symbol;
  return data;
}