toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accessToken != null) 'accessToken': accessToken!,
      if (accessTokenExpireTime != null)
        'accessTokenExpireTime': accessTokenExpireTime!,
      if (refreshToken != null) 'refreshToken': refreshToken!,
      if (refreshTokenExpireTime != null)
        'refreshTokenExpireTime': refreshTokenExpireTime!,
      if (tokenType != null) 'tokenType': tokenType!,
    };