toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'refreshResult': refreshResult,
'wasFullyProactiveRefresh': wasFullyProactiveRefresh,
if (fetchResult != null) 'fetchResult': fetchResult!.toJson(),
if (newSession != null) 'newSession': newSession!.toJson(),
};
}