toJson method

Map<String, dynamic> toJson()

Copyright (c) 2019 Inomera Research. Author Burak Soykal

Implementation

Map<String, dynamic> toJson() => {
      'code': getCode(),
      if (revenue != null) 'revenue': getRevenue(),
    };