fromJson static method

PushMessageContentChatSetBackground? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static PushMessageContentChatSetBackground? fromJson(
  Map<String, dynamic>? json,
) {
  if (json == null) {
    return null;
  }

  return PushMessageContentChatSetBackground(
    isSame: (json['is_same'] as bool?) ?? false,
  );
}