Bookshelf.fromJson constructor

Bookshelf.fromJson(
  1. Map json_
)

Implementation

Bookshelf.fromJson(core.Map json_)
    : this(
        access: json_.containsKey('access')
            ? json_['access'] as core.String
            : null,
        created: json_.containsKey('created')
            ? json_['created'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.int : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
        updated: json_.containsKey('updated')
            ? json_['updated'] as core.String
            : null,
        volumeCount: json_.containsKey('volumeCount')
            ? json_['volumeCount'] as core.int
            : null,
        volumesLastUpdated: json_.containsKey('volumesLastUpdated')
            ? json_['volumesLastUpdated'] as core.String
            : null,
      );