SessionResumptionConfig.fromJson constructor

SessionResumptionConfig.fromJson(
  1. Object? j
)

Implementation

factory SessionResumptionConfig.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return SessionResumptionConfig(
    handle: switch (json['handle']) {
      null => null,
      Object $1 => decodeString($1),
    },
  );
}