toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'module': module,
      'reason': reason,
    };