Browse Source

style: prettier

DEV-4541-Go-go-reloaded-synchronous-project-reveiw
davhojt 1 year ago committed by Dav Hojt
parent
commit
4d7ce71190
  1. 2
      subjects/mobile-dev/circle/README.md
  2. 1
      subjects/mobile-dev/named-required-sum/README.md
  3. 5
      subjects/mobile-dev/person/README.md
  4. 13
      subjects/mobile-dev/student/README.md
  5. 2
      subjects/mobile-dev/university/README.md
  6. 1
      subjects/mobile-dev/variables/README.md

2
subjects/mobile-dev/circle/README.md

@ -11,6 +11,7 @@ Attributes:
- `radius`: `double` - `radius`: `double`
Getters: Getters:
- `area` - `area`
- `perimeter` - `perimeter`
- `rightMostCoordinate`: (x axis) - `rightMostCoordinate`: (x axis)
@ -19,6 +20,7 @@ Getters:
- `lowestCoordinate`: (y axis) - `lowestCoordinate`: (y axis)
Constructor: Constructor:
- `x`: `required` - `x`: `required`
- `y`: `required` - `y`: `required`
- `radius`: `required` - `radius`: `required`

1
subjects/mobile-dev/named-required-sum/README.md

@ -3,6 +3,7 @@
### Instructions ### Instructions
Write a function named `namedRequiredSum`, that returns the sum of its required [named](https://dart.dev/guides/language/language-tour) `int` parameters: Write a function named `namedRequiredSum`, that returns the sum of its required [named](https://dart.dev/guides/language/language-tour) `int` parameters:
- `first` - `first`
- `second` - `second`
- `third` - `third`

5
subjects/mobile-dev/person/README.md

@ -23,6 +23,7 @@ Constructor:
### Object Oriented Programming ### Object Oriented Programming
Dart supports object oriented programming, and it features heavily in Flutter. Classes have 2 main concepts. Dart supports object oriented programming, and it features heavily in Flutter. Classes have 2 main concepts.
- Attributes: store data about the instance of a class. - Attributes: store data about the instance of a class.
- Methods: are func functions, which can use class attributes for various manipulations. - Methods: are func functions, which can use class attributes for various manipulations.
@ -48,7 +49,7 @@ class Point {
Point(double x, double y) { Point(double x, double y) {
// Sets the attributes to the value of the constructor arguments. // Sets the attributes to the value of the constructor arguments.
this.y = y; this.y = y;
this.x = x; this.x = x;
} }
} }
``` ```
@ -62,7 +63,7 @@ class Point {
double x; double x;
double y; double y;
Point(this.x, this.y); Point(this.x, this.y);
} }
``` ```

13
subjects/mobile-dev/student/README.md

@ -11,12 +11,13 @@ Attributes:
- `secretKey`: private `string`. Defaults to "01". - `secretKey`: private `string`. Defaults to "01".
Constructor: Constructor:
- `name`: `string`
- `cityOfOrigin`: `string` - `name`: `string`
- `age`: `int` - `cityOfOrigin`: `string`
- `height`: `int` - `age`: `int`
- `batch`: `int` - `height`: `int`
- `level`: `int` - `batch`: `int`
- `level`: `int`
### Inheritance ### Inheritance

2
subjects/mobile-dev/university/README.md

@ -11,11 +11,13 @@ Attributes:
- `ranking`: `private int?` - `ranking`: `private int?`
Getters: Getters:
- `name` - `name`
- `city` - `city`
- `ranking` - `ranking`
Constructor: Constructor:
- `name`: `required` - `name`: `required`
- `city`: `required` - `city`: `required`
- `ranking`: `optional` - `ranking`: `optional`

1
subjects/mobile-dev/variables/README.md

@ -13,6 +13,7 @@ String strSpongebob = 'Spongebob';
``` ```
Declare and initialize the following variables: Declare and initialize the following variables:
- `obj` of type `Object`, containing any value. - `obj` of type `Object`, containing any value.
- `planet` of type `String`, containing the name of the planet you live on. - `planet` of type `String`, containing the name of the planet you live on.
- `year` of type `int`, containing the current year. - `year` of type `int`, containing the current year.

Loading…
Cancel
Save