toJson method

Map<String, dynamic> toJson()

Implementation

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