Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Hazem_ELgohary
2022-03-15 12:50:54 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
David PHAM-VAN
2022-03-16 10:01:39 -0300
Commit
f9f88b45d45e73e145dd31784a746462bc4e0e88
f9f88b45
1 parent
753c73c6
add toMap
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
printing/lib/src/printer.dart
printing/lib/src/printer.dart
View file @
f9f88b4
...
...
@@ -72,4 +72,14 @@ class Printer {
comment:
$comment
isDefault:
$isDefault
isAvailable:
$isAvailable
'''
;
Map
<
String
,
Object
?>
toMap
()
=>
{
'url'
:
url
,
'name'
:
name
,
'model'
:
model
,
'location'
:
location
,
'comment'
:
comment
,
'default'
:
isDefault
,
'available'
:
isAvailable
,
};
}
...
...
Please
register
or
login
to post a comment