core.Map<core.String, core.dynamic> toJson() => { if (tokenIds != null) 'tokenIds': tokenIds!, if (tokens != null) 'tokens': tokens!, };