Setting class

Constructors

Setting({String? title, String? description, String? url, String? email, String? timezone, String? dateFormat, String? timeFormat, int? startOfWeek, String? language, bool? useSmilies, int? defaultCategory, String? defaultPostFormat, int? postsPerPage, String? defaultPingStatus, String? defaultCommentStatus})
Setting.fromJson(String source)
factory
Setting.fromMap(Map<String, dynamic> map)
factory

Properties

dateFormat String?
A date format for all date strings.
final
defaultCategory int?
Default post category.
final
defaultCommentStatus String?
Allow people to submit comments on new posts.
final
defaultPingStatus String?
Allow link notifications from other blogs (pingbacks and trackbacks) on new articles.
final
defaultPostFormat String?
Default post format.
final
description String?
Site tagline.
final
email String?
This address is used for admin purposes, like new user notification.
final
hashCode int
The hash code for this object.
no setteroverride
language String?
WordPress locale code.
final
postsPerPage int?
Blog pages show at most.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startOfWeek int?
A day number of the week that the week should start on.
final
timeFormat String?
A time format for all time strings.
final
timezone String?
A city in the same timezone as you.
final
title String?
Site title.
final
url String?
Site URL.
final
useSmilies bool?
Convert emoticons to graphics on display.
final

Methods

copyWith({String? title, String? description, String? url, String? email, String? timezone, String? dateFormat, String? timeFormat, int? startOfWeek, String? language, bool? useSmilies, int? defaultCategory, String? defaultPostFormat, int? postsPerPage, String? defaultPingStatus, String? defaultCommentStatus}) Setting
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator.
override