toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      if (handle case final handle?) 'handle': handle,
    };