representation property Null safety

Map<String, dynamic> representation

Implementation

Map<String, dynamic> get representation => {
      "id": contractId,
      "accepted": accepted,
    };